<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>促销管理</title>
<load href="__PUBLIC__/css/bootstrap.min.css" />
<import type='css' file="css.daterangepicker-bs3" />
<import type='css' file="css.main" />
<load href="__PUBLIC__/js/jquery-1.9.1.min.js" />
<load href="__PUBLIC__/js/jquery-ui.min.js" />
<import type='js' file="js.main" />
<import type='js' file="js.moment" />
<import type='js' file="js.daterangepicker" />
<script type="text/javascript">
$(function(){
	$('#pro_starttime').daterangepicker({ singleDatePicker: true }, function(start, end, label) {
		console.log(start.toISOString(), end.toISOString(), label);
	});
	$('#pro_endtime').daterangepicker({ singleDatePicker: true }, function(start, end, label) {
		console.log(start.toISOString(), end.toISOString(), label);
	});
})
</script>
</head>

<body>
<style type="text/css">
.seoption{padding-top:10px; text-align:center;}
.seoption select{border:solid 1px #ccc; border-radius:3px; height:30px; line-height:24px; border-right:none;}
button.okglian{display:block; clear:both; width:70px; margin:0px auto; margin-top:6px; background:none; background-color:#ff5454; color:#fff; border:none; border-radius:5px; line-height:22px; cursor:pointer;}
.selectform{text-align:center; height:30px; line-height:30px; margin-bottom:12px;}
.selectform .n_txt{height:26px; line-height:26px; padding:0px 5px; border-radius:3px; border:solid 1px #CCCCCC}
</style>

<div class="main-frame">
	<div class="position">华人码 > 促销管理</div>
	
	<div class="selectform">
		<form action="{:U('batchcode',array('domainid'=>$domainid,'rootid'=>$rootid))}">
            <!-- 
            <label class="fl tle">开始日期：</label>
            <input name="pro_starttime" id="pro_starttime" readonly="readonly" class="txtlength200" style="width: 160px;" placeholder="开始日期" value="{:date('Y-m-d')}">
            <label class="fl tle">结束日期：</label>
            <input name="pro_endtime" id="pro_endtime" readonly="readonly" class="txtlength200" style="width: 160px;" placeholder="结束日期" value="{:date('Y-m-d')}">
             -->
            <label class="fl tle">生产数量：</label><input class="n_txt" name="m_num" placeholder="50" /><input class="n_txt" type="submit" value="生产" />
		</form>
	</div>

					
	<div class="table-list">
	 <table width="100%" border="1" cellspacing="0" cellpadding="0" class="indextable">
		    <tr class="th-bg">
		      <th width="4%">ID</th>
		      <th width="15%">码标题</th>
		      <th width="15%">华人码</th>
		      <th width="30%">简介</th>
		      <th width="8%">操作</th>
	        </tr>
	        <volist name='filmlist' id='v' empty="$empty">
		    <tr class="tr-line">
		      <td>{$v.id}</td>
		      <td style="text-align:left; padding-left:6px;" class="guanlian">{$v.name}</td>
		      <td class="guanlian"><img src="{$v.h_url}" width="200" /></td>
		      <td style="text-align:left; padding:0px 6px; font-size:12px; color:#666;">{$v.content|msubstr=0,40}</td>
		      <td><a href="{:U('Film/fcolumnedit',array('id'=>$v['id']))}">编辑</a></td>
	        </tr>
	        </volist>
      </table>
    </div>

</div>

</body>
</html>
